package cn.ycms.bean;

import java.sql.Timestamp;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Reso entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "reso")
public class Reso implements java.io.Serializable {

	// Fields

	private String resoId;
	private String resoName;
	private String resoPath;
	private Timestamp createdate;
	private Integer mark;
	private Integer sort;
	private String beizhu;

	// Constructors

	/** default constructor */
	public Reso() {
	}

	/** minimal constructor */
	public Reso(String resoId) {
		this.resoId = resoId;
	}

	/** full constructor */
	public Reso(String resoId, String resoName, String resoPath,
			Timestamp createdate, Integer mark, Integer sort, String beizhu) {
		this.resoId = resoId;
		this.resoName = resoName;
		this.resoPath = resoPath;
		this.createdate = createdate;
		this.mark = mark;
		this.sort = sort;
		this.beizhu = beizhu;
	}

	// Property accessors
	@Id
	@Column(name = "RESO_ID", unique = true, nullable = false, length = 20)
	public String getResoId() {
		return this.resoId;
	}

	public void setResoId(String resoId) {
		this.resoId = resoId;
	}

	@Column(name = "RESO_NAME", length = 50)
	public String getResoName() {
		return this.resoName;
	}

	public void setResoName(String resoName) {
		this.resoName = resoName;
	}

	@Column(name = "RESO_PATH", length = 50)
	public String getResoPath() {
		return this.resoPath;
	}

	public void setResoPath(String resoPath) {
		this.resoPath = resoPath;
	}

	@Column(name = "CREATEDATE", length = 0)
	public Timestamp getCreatedate() {
		return this.createdate;
	}

	public void setCreatedate(Timestamp createdate) {
		this.createdate = createdate;
	}

	@Column(name = "MARK")
	public Integer getMark() {
		return this.mark;
	}

	public void setMark(Integer mark) {
		this.mark = mark;
	}

	@Column(name = "SORT")
	public Integer getSort() {
		return this.sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	@Column(name = "BEIZHU", length = 200)
	public String getBeizhu() {
		return this.beizhu;
	}

	public void setBeizhu(String beizhu) {
		this.beizhu = beizhu;
	}

}